package com.satis.compose.get.annotation

@Target(
    AnnotationTarget.FUNCTION,
)
@Retention(AnnotationRetention.RUNTIME)
annotation class PageRoute(
    val route: String,
    val enter: Animation = Animation.LEFT_IN,
    val exit: Animation = Animation.LEFT_OUT,
    val popEnter: Animation = Animation.RIGHT_IN,
    val popExit: Animation = Animation.RIGHT_OUT
) {

    enum class Animation {
        LEFT_IN,
        LEFT_OUT,
        RIGHT_IN,
        RIGHT_OUT,

        UP_IN,
        UP_OUT,
        DOWN_IN,
        DOWN_OUT,
    }
}